$prefix-cls: alan-input;

.#{$prefix-cls} {
  display: inline-block;
  padding: 2px;
  position: relative;

  &-wrap {
    padding: 6px;
  }

  &-content-wrap {
    position: relative;
    padding: 1px 8px;
  }

  &-label {
    position: absolute;
    top: -15px;
    left: 4px;
    z-index: 2;
    background-color: #fff;
    display: inline-block;
    padding: 0 4px;
    font-size: 12px;
    border: none;
    color: #4B5563;
  }

  input {
    border: none;
    box-sizing: border-box;
    margin: 0;
    list-style: none;
    position: relative;
    display: inline-block;
    padding: 0;
    color: #000000d9;
    font-size: 14px;
    line-height: 1.5715;
    background-color: #fff;
    background-image: none;
    outline: 0;

    &[type=number] {

      &::-webkit-outer-spin-button,
      &::-webkit-inner-spin-button {
          -webkit-appearance: none;
      }
  
      -moz-appearance: textfield;
    }
  }
}